#if !GENERATOR

using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
using System.Collections.Generic;

using YF.OneNote;


namespace YF.OneNote.DataTypes
{
  public partial class ShapeInfo: NotesNode
  {
  
	public ShapeInfo()
    {
      
	}

    

	[XmlAttribute]
    public override string ID
    {
      get
      {
        return "!!!No ID!!!";
      }
      set
      {
      }
    }

	
    protected override bool UpdateContents(NotesNode newContent, List<INotesChange> changes)
    {
	  ShapeInfo item = (ShapeInfo)newContent;
      bool changed = false;

      
      if (isLine != item.isLine)
      {
        changed = true;
		
		NotesPropertyChange propertyChange = new NotesPropertyChange();

        propertyChange.ChangeType = NoteChangeType.Changed;
        propertyChange.OldValue = isLineField;
        propertyChange.NewValue = item.isLineField;
        propertyChange.PropertyName = "isLine";
        changes.Add(propertyChange);

		
        isLineField = item.isLineField;
      }


      return changed;
    }
  }
}

#endif